<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>支付页面</title>
		<script src="js/jquery-1.4.2.min.js"></script>
		<script>
			window.onload = function() {
				$("#pay").click(function() {
					$("#pay").attr("disabled", true);
					$("#pay").text($(this).text() + ",已经在支付,请稍后...")
				})
			}
		</script>
	</head>
	<body>
		<h1>按钮点击后，被禁止，无法再次点击</h1>
		<button id="pay">支付宝支付</button>
		<button>微信支付</button>
	</body>

</html>
